package com.universalInterface.lims_interface.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.universalInterface.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 实验室通道表
 * </p>
 *
 * @author author
 * @since 2023-12-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("lab_channel")
@Schema(name = "LabChannel", description = "实验室通道表")
public class LabChannel extends BaseEntity implements Serializable {

	private static final long serialVersionUID = -321618713423264310L;

	@Schema(name = "chGuid", description = "通道id")
	@TableField(value = "ch_guid")
	private Long chGuid;

	@Schema(name = "labGuid", description = "实验室id")
	@TableField(value = "lab_guid")
	private Long labGuid;

	@Schema(name = "chName", description = "通道名称")
	@TableField(value = "ch_name")
	private String chName;

	@Schema(name = "enName", description = "通道名称英文名")
	@TableField(value = "en_name")
	private String enName;

	@Schema(name = "customName", description = "通道自定义名称")
	@TableField(value = "custom_name")
	private String customName;

	@Schema(name = "fieldName", description = "生成试验实时表的字段名称，规则是F+序号定义；F1~F255")
	@TableField(value = "field_name")
	private String fieldName;

}
